using System;
using System.Collections.Generic;
using System.Text;
using GetTogether.Utility;

namespace GetTogether.Studio
{
    public class Config
    {
        public static GetTogether.Web.ConfigManager.SystemMode Mode = GetTogether.Web.ConfigManager.SystemMode.DEV;
        public static OriginalSettings Original = new OriginalSettings();

        public static string[] RecipientEmails;

        #region Functions

        public static void InitConfig()
        {
            Config.Mode = (GetTogether.Web.ConfigManager.SystemMode)NumberHelper.ToInt(ConfigHelper.GetAppSetting("Mode"), -1);
            Original.ReadSetting();
            Original.InitSetting();
        }

        #endregion

    }
}
